package com.heima.apis.wemedia;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.media.dtos.WmMaterialDto;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.multipart.MultipartFile;

@Api(tags = "自媒体端素材控制类")
public interface WmMaterialControllerApi {
    @ApiOperation("上传素材")
    ResponseResult uploadPicture(MultipartFile multipartFile);

    @ApiOperation("查询素材列表")
    ResponseResult findList(WmMaterialDto dto);

    @ApiOperation("删除素材")
    ResponseResult delPicture(Integer id);

    @ApiOperation("取消收藏图片")
    ResponseResult cancelCollectionMaterial(Integer id);
    @ApiOperation("收藏图片")
    ResponseResult collectionMaterial(Integer id);
}
